package com.att.service.impl;

import com.att.bean.ParamBean;
import com.att.dao.ParamDaoMapper;
import com.att.service.ParamService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("paramService")
public class ParamServiceImpl implements ParamService {

    @Resource
    private ParamDaoMapper paramDaoMapper;

    @Override
    public List<ParamBean> findByCondition(ParamBean bean) {
        return paramDaoMapper.findByCondition(bean);
    }

    @Override
    public boolean update(ParamBean bean) {
        return paramDaoMapper.update(bean);
    }

    @Override
    public boolean insert(ParamBean bean) {
        return paramDaoMapper.insert(bean);
    }
}
